# @Time    : 2023/3/21 22:19
# @Author  : SunJian
# @Email   : 330160114@qq.com
# @File    : qiniuyun.py
# @Software: PyCharm
"""
文件说明：

"""
from django.conf import settings
from django.core.files.storage import Storage


class QiuniuStorage(Storage):
    """自定义文件存储系统，修改存储的方案"""

    def _open(self, name, mode='rb'):
        pass

    def _save(self, name, content):
        pass


    def url(self, name):

        return settings.QN_BASE_URL + name